# todo 进入一个web项目的登录页面，输入用户名，密码，验证码后登录

class LoginPage:
    def __init__(self, username, password, code):
        self.username = username  # 账号
        self.password = password  # 密码
        self.code = code  # 验证码

    def login(self):
        print(f"输入用户名:{self.username}")
        print(f"请输入密码:{self.password}")
        print(f"请输入验证码:{self.code}")
        print(f"点击登录")


if __name__ == '__main__':
    admin = LoginPage("张三", "666666", 1234)
    admin.login()
